import { ref } from "vue"

const columns = ref<Column[]>([
  {
    prop: "id",
    label: "访问编号",
    sortable: true
  },
  {
    prop: "userName",
    label: "登录名称",
    sortable: true
  },
  {
    prop: "ip",
    label: "登录地址",
    sortable: true
  },
  {
    prop: "browser",
    label: "浏览器",
    minWidth: "260",
    sortable: true
  },
  {
    prop: "os",
    label: "操作系统",
    minWidth: "150",
    sortable: true
  },
  {
    prop: "loginType",
    label: "登录状态",
    sortable: true,
    slotName: "login-type"
  },
  {
    prop: "createTime",
    label: "创建时间",
    sortable: true,
    minWidth: "100",
    slotName: "create-time"
  }
])

export { columns }
